<!--  -->
<template>
  <div id="good-list">
    <goodItem
      v-for="item in goods"
      :key="item.index"
      :item="item"
      @click="handleDetails()"
    ></goodItem>
  </div>
</template>

<script>
import goodItem from "../../content/goods/goodsItem";
export default {
  components: {
    goodItem,
  },
  props: {
    goods: {
      type: Array,
      default() {
        return [];
      },
    },
  },
  data() {
    return {
     
    };
  },
  computed: {},
  watch: {},
  methods: {},
  created() {},
  mounted() {},
  updated() {},
};
</script>
<style lang="less" scoped>
//@import url();
#good-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  #good-item {
    position: relative;
    width: 48%;
    padding-bottom: 50px;
  }
}
</style>
